import request from "@/utils/request";
export default class OrderHouseAPI {

  /// 订单未发单列表 owerUserId 等于自己 就是自己的订单 不传就是抢单大厅
  static netYzOrderGetList(data) {
    data = {status:'发单中'}
    return request({
      url: "/api/YzOrder/getList",
      method: "post",
      data
    });
  }

  static netYzOrderTakeList(data) {
    return request({
      url: "/api/YzOrderTake/getList ",
      method: "post",
      data
    });
  }
  
  /// 订单详情
  static netYzOrderGet(id) {
    return request({
      url: "/api/YzOrder/get/"+id,
      method: "get",
    });
  }
  
  /// 提交报价
  static netYzOrderPriceSave(data) {
    return request({
      url: "/api/YzOrderPrice/save",
      method: "post",
      data
    });
  }
  

  
}
